<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>TrabalhodeSistemasOperacionais: Código-Fonte de tratadorderequisicao.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Gerado por Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">TrabalhodeSistemasOperacionais&#160;<span id="projectnumber">1.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;Principal</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Arquivos</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Lista&#160;de&#160;Arquivos</span></a></li>
      <li><a href="globals.html"><span>Arquivos&#160;Membros</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>tratadorderequisicao.h</h1>  </div>
</div>
<div class="contents">
<a href="tratadorderequisicao_8h.html">Vá para a documentação deste arquivo.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef TRATADORDEREQUISICAO_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define TRATADORDEREQUISICAO_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#include &lt;qtcpserver.h&gt;</span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;QObject&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;qtcpsocket.h&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;QFile&gt;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;QTextStream&gt;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;QStringList&gt;</span>
<a name="l00009"></a>00009 
<a name="l00010"></a><a class="code" href="classTratadorDeRequisicao.html">00010</a> <span class="keyword">class </span><a class="code" href="classTratadorDeRequisicao.html">TratadorDeRequisicao</a> : <span class="keyword">public</span> QObject
<a name="l00011"></a>00011 {
<a name="l00012"></a>00012     Q_OBJECT
<a name="l00013"></a>00013 <span class="keyword">public</span>:
<a name="l00014"></a>00014     <span class="keyword">explicit</span> <a class="code" href="classTratadorDeRequisicao.html#a000170aa353847ffee579f323db522a1">TratadorDeRequisicao</a>(QObject *parent = 0);
<a name="l00015"></a>00015 
<a name="l00018"></a>00018     <a class="code" href="classTratadorDeRequisicao.html#ae01a1a1c569fc9e74045b2911bf3485d">~TratadorDeRequisicao</a>();
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 
<a name="l00021"></a><a class="code" href="classTratadorDeRequisicao.html#a950775eff26076a54d7179c6997dca40">00021</a>     QTcpServer * <a class="code" href="classTratadorDeRequisicao.html#a950775eff26076a54d7179c6997dca40">servidor</a>;
<a name="l00022"></a><a class="code" href="classTratadorDeRequisicao.html#ae4cd5c236829da82a6ca2fbb177d2964">00022</a>     QTcpSocket *<a class="code" href="classTratadorDeRequisicao.html#ae4cd5c236829da82a6ca2fbb177d2964">clientConnection</a>;
<a name="l00023"></a>00023 
<a name="l00024"></a><a class="code" href="classTratadorDeRequisicao.html#a85d9bc994d2e50cf50625dcb57b29012">00024</a>     QFile * <a class="code" href="classTratadorDeRequisicao.html#a85d9bc994d2e50cf50625dcb57b29012">arquivoAgencia</a>;
<a name="l00025"></a><a class="code" href="classTratadorDeRequisicao.html#aea49292045b894c7ad99020ade4e23df">00025</a>     QFile * <a class="code" href="classTratadorDeRequisicao.html#aea49292045b894c7ad99020ade4e23df">arquivoPorta</a>;
<a name="l00026"></a><a class="code" href="classTratadorDeRequisicao.html#a28db289edc892477106385bee65ed8b9">00026</a>     QFile * <a class="code" href="classTratadorDeRequisicao.html#a28db289edc892477106385bee65ed8b9">arquivoClientes</a>;
<a name="l00027"></a><a class="code" href="classTratadorDeRequisicao.html#ae5eda42b3a92bc297c9fbb2b5c69e745">00027</a>     QFile * <a class="code" href="classTratadorDeRequisicao.html#ae5eda42b3a92bc297c9fbb2b5c69e745">arquivoLog</a>;
<a name="l00028"></a>00028 
<a name="l00029"></a><a class="code" href="classTratadorDeRequisicao.html#a99b1cece9caf64f76e0fc56086fd27aa">00029</a>     QTextStream * <a class="code" href="classTratadorDeRequisicao.html#a99b1cece9caf64f76e0fc56086fd27aa">agenciaStream</a> ;
<a name="l00030"></a><a class="code" href="classTratadorDeRequisicao.html#afbc60297c2e5e56b2e979eb233030c2e">00030</a>     QTextStream * <a class="code" href="classTratadorDeRequisicao.html#afbc60297c2e5e56b2e979eb233030c2e">portaStream</a>;
<a name="l00031"></a><a class="code" href="classTratadorDeRequisicao.html#a4947c9c940e1c8e403b22aafb15b78ef">00031</a>     QTextStream * <a class="code" href="classTratadorDeRequisicao.html#a4947c9c940e1c8e403b22aafb15b78ef">clientesStream</a>;
<a name="l00032"></a><a class="code" href="classTratadorDeRequisicao.html#a7409c79bab4fc1a4e4d9ad2947419269">00032</a>     QTextStream * <a class="code" href="classTratadorDeRequisicao.html#a7409c79bab4fc1a4e4d9ad2947419269">logStream</a>;
<a name="l00033"></a>00033 
<a name="l00036"></a><a class="code" href="classTratadorDeRequisicao.html#a11f9ccc2232863882c44b850557d7f93">00036</a>     QStringList <a class="code" href="classTratadorDeRequisicao.html#a11f9ccc2232863882c44b850557d7f93">contaAgenciaSeparadas</a>;
<a name="l00037"></a>00037 
<a name="l00040"></a>00040     <span class="keywordtype">void</span> <a class="code" href="classTratadorDeRequisicao.html#a1f902b14eadf95d0ac7d91bb63b11440">iniciaServer</a>();
<a name="l00041"></a>00041 
<a name="l00044"></a>00044     QString <a class="code" href="classTratadorDeRequisicao.html#afe51ae734ade84bd648d01b33c14dc9d">saldo</a>(QString contaAgencia);
<a name="l00045"></a>00045 
<a name="l00046"></a><a class="code" href="classTratadorDeRequisicao.html#af89f6db4f4d467957cb4a2f2ca6b887b">00046</a>     QString <a class="code" href="classTratadorDeRequisicao.html#af89f6db4f4d467957cb4a2f2ca6b887b">numeroPorta</a>,<a class="code" href="classTratadorDeRequisicao.html#a9a13c618363bf1b72a4d9a1ce3613c17">idAgencia</a>;
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 signals:
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 <span class="keyword">public</span> slots:
<a name="l00052"></a>00052     <span class="keywordtype">void</span> <a class="code" href="classTratadorDeRequisicao.html#af1cb51fef7338cda16f7a831c751aa12">novocliente</a>();
<a name="l00053"></a>00053 
<a name="l00054"></a>00054 };
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 <span class="preprocessor">#endif // TRATADORDEREQUISICAO_H</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Gerado em Terça, 6 de Dezembro de 2011 01:12:43 para TrabalhodeSistemasOperacionais por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
